const mongoose = require('mongoose')
mongoose.connect('mongodb://localhost:27017/maoyan-admin', { useUnifiedTopology: true, useNewUrlParser: true })

const UsersModel = mongoose.model('users', {
  username: String,
  password: String,
  filename: String
})

module.exports = {
  UsersModel
}